home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
One Click 11
/
OneClick11.iso
/
Bancos de Dados
/
Conversao
/
Mysql2Excel
/
Setup.exe
/
Mysql2Excel.exe
/
class_conecta.pyc
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Compiled Bytecode
|
2003-06-23
|
828 b
|
18 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.2)
from CompatMysqldb import *
class conecta:
def __init__(self, host, user, senha, bd):
self.conn = Connection(host, user, senha, bd)
self.dados = self.conn.cursor()
def query(self, sql):
self.dados.execute(sql)
return self.dados.fetchall()